<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NFC / NDEF Library for Proximity APIs: NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NdefLibraryLogo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NFC / NDEF Library for Proximity APIs
   &#160;<span id="projectnumber">4.1.0</span>
   </div>
   <div id="projectbrief">Easily parse and create NDEF records with the Windows Proximity APIs / Near Field Communication NFC.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_ndef_library.html">NdefLibrary</a></li><li class="navelem"><a class="el" href="namespace_ndef_library_1_1_ndef.html">Ndef</a></li><li class="navelem"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record.html">NdefBtSecureSimplePairingRecord</a></li><li class="navelem"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html">BtClassOfDevice</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Defines the Class of Device information data. This is to be used to provide a graphical representation to the user as part of UI involving operations with Bluetooth devices. For example, it may provide a particular icon to represent the device.  
 <a href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device_1_1_minor_device_class_type.html">MinorDeviceClassType</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Information class that specifies required information to correclty parse and create a minor device class based on one or more encoded values. The exact format of the minor device class depends on the major device class in use, and this class enables to look up the encoding and lets this implementation take care of most of the complex underlying work that needs to be done.  <a href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device_1_1_minor_device_class_type.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aec2bd8d1624582ce2efa270fcef2f2f2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aec2bd8d1624582ce2efa270fcef2f2f2">ClassOfDeviceFormatTypes</a> : uint { <b>Format1</b> = 0x00
 }<tr class="memdesc:aec2bd8d1624582ce2efa270fcef2f2f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the format of the class of device information. Only two bits are used.  <a href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aec2bd8d1624582ce2efa270fcef2f2f2">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:aec2bd8d1624582ce2efa270fcef2f2f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69dec9ca96aa74129819116fdbf75808"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a69dec9ca96aa74129819116fdbf75808">MajorServiceClassTypes</a> : uint { <br />
&#160;&#160;<b>LimitedDiscoverableMode</b> = 1 &lt;&lt; 0, 
<b>ReservedBit14</b> = 1 &lt;&lt; 1, 
<b>ReservedBit15</b> = 1 &lt;&lt; 2, 
<b>Positioning</b> = 1 &lt;&lt; 3, 
<br />
&#160;&#160;<b>Networking</b> = 1 &lt;&lt; 4, 
<b>Rendering</b> = 1 &lt;&lt; 5, 
<b>Capturing</b> = 1 &lt;&lt; 6, 
<b>ObjectTransfer</b> = 1 &lt;&lt; 7, 
<br />
&#160;&#160;<b>Audio</b> = 1 &lt;&lt; 8, 
<b>Telephony</b> = 1 &lt;&lt; 9, 
<b>Information</b> = 1 &lt;&lt; 10
<br />
 }<tr class="memdesc:a69dec9ca96aa74129819116fdbf75808"><td class="mdescLeft">&#160;</td><td class="mdescRight">The different major service class flags, including the two reserved bits not yet in use. The actual service class in use can be a combination of one or more of these flags.  <a href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a69dec9ca96aa74129819116fdbf75808">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a69dec9ca96aa74129819116fdbf75808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5f2baa43078742f6b8b8a90dd06d4b1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa5f2baa43078742f6b8b8a90dd06d4b1">MajorDeviceClassTypes</a> : uint { <br />
&#160;&#160;<b>Miscellaneous</b> = (uint)0x00, 
<b>Computer</b> = (uint)0x01, 
<b>Phone</b> = (uint)0x02, 
<b>LanNetworkAccessPoint</b> = (uint)0x03, 
<br />
&#160;&#160;<b>AudioVideo</b> = (uint)0x04, 
<b>Peripheral</b> = (uint)0x05, 
<b>Imaging</b> = (uint)0x06, 
<b>Wearable</b> = (uint)0x07, 
<br />
&#160;&#160;<b>Toy</b> = (uint)0x08, 
<b>Health</b> = (uint)0x09, 
<b>Uncategorized</b> = (uint)0x1F
<br />
 }<tr class="memdesc:aa5f2baa43078742f6b8b8a90dd06d4b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Different major device class types currently standardized.  <a href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa5f2baa43078742f6b8b8a90dd06d4b1">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:aa5f2baa43078742f6b8b8a90dd06d4b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2abfa893b7bf42f8455192881e2e7ca1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a2abfa893b7bf42f8455192881e2e7ca1">MinorDeviceClassList</a> : uint { <br />
&#160;&#160;<b>ComputerUncategorized</b>, 
<b>ComputerDesktopWorkstation</b>, 
<b>ComputerServerClassComputer</b>, 
<b>ComputerLaptop</b>, 
<br />
&#160;&#160;<b>ComputerHandheldPcPdaClamshell</b>, 
<b>ComputerPalmSizePcPda</b>, 
<b>ComputerWearableComputerWatchSize</b>, 
<b>ComputerTablet</b>, 
<br />
&#160;&#160;<b>PhoneUncategorized</b>, 
<b>PhoneCellular</b>, 
<b>PhoneCordless</b>, 
<b>PhoneSmartphone</b>, 
<br />
&#160;&#160;<b>PhoneWiredModemOrVoiceGateway</b>, 
<b>PhoneCommonIsdnAccess</b>, 
<b>Lan1FullyAvailable</b>, 
<b>Lan1_1To17PercentUtilized</b>, 
<br />
&#160;&#160;<b>Lan1_17To33PercentUtilized</b>, 
<b>Lan1_33To50PercentUtilized</b>, 
<b>Lan1_50To67PercentUtilized</b>, 
<b>Lan1_67To83PercentUtilized</b>, 
<br />
&#160;&#160;<b>Lan1_83To99PercentUtilized</b>, 
<b>Lan1NoServiceAvailable</b>, 
<b>Lan2Uncategorized</b>, 
<b>AudioVideoUncategorized</b>, 
<br />
&#160;&#160;<b>AudioVideoWearableHeadsetDevice</b>, 
<b>AudioVideoHandsFreeDevice</b>, 
<b>AudioVideoMicrophone</b>, 
<b>AudioVideoLoudspeaker</b>, 
<br />
&#160;&#160;<b>AudioVideoHeadphones</b>, 
<b>AudioVideoPortableAudio</b>, 
<b>AudioVideoCarAudio</b>, 
<b>AudioVideoSetTopBox</b>, 
<br />
&#160;&#160;<b>AudioVideoHiFiAudioDevice</b>, 
<b>AudioVideoVcr</b>, 
<b>AudioVideoVideoCamera</b>, 
<b>AudioVideoCamcorder</b>, 
<br />
&#160;&#160;<b>AudioVideoVideoMonitor</b>, 
<b>AudioVideoVideoDisplayAndLoudspeaker</b>, 
<b>AudioVideoVideoConferencing</b>, 
<b>AudioVideoGamingToy</b>, 
<br />
&#160;&#160;<b>Peripheral1NotKeyboardNotPointing</b>, 
<b>Peripheral1Keyboard</b>, 
<b>Peripheral1Pointing</b>, 
<b>Peripheral1ComboKeyboardPointing</b>, 
<br />
&#160;&#160;<b>Peripheral2Uncategorized</b>, 
<b>Peripheral2Joystick</b>, 
<b>Peripheral2Gamepad</b>, 
<b>Peripheral2RemoteControl</b>, 
<br />
&#160;&#160;<b>Peripheral2SensingDevice</b>, 
<b>Peripheral2DigitizerTablet</b>, 
<b>Peripheral2CardReader</b>, 
<b>Peripheral2DigitalPen</b>, 
<br />
&#160;&#160;<b>Peripheral2HandheldScanner</b>, 
<b>Peripheral2HandheldGesturalInput</b>, 
<b>ImagingDisplay</b>, 
<b>ImagingCamera</b>, 
<br />
&#160;&#160;<b>ImagingScanner</b>, 
<b>ImagingPrinter</b>, 
<b>ImagingUncategorized</b>, 
<b>WearableWristwatch</b>, 
<br />
&#160;&#160;<b>WearablePager</b>, 
<b>WearableJacket</b>, 
<b>WearableHelmet</b>, 
<b>WearableGlasses</b>, 
<br />
&#160;&#160;<b>ToyRobot</b>, 
<b>ToyVehicle</b>, 
<b>ToyDollActionFigure</b>, 
<b>ToyController</b>, 
<br />
&#160;&#160;<b>ToyGame</b>, 
<b>HealthUndefined</b>, 
<b>HealthBloodPressureMonitor</b>, 
<b>HealthThermometer</b>, 
<br />
&#160;&#160;<b>HealthWeighingScale</b>, 
<b>HealthGlucoseMeter</b>, 
<b>HealthPulseOximeter</b>, 
<b>HealthHeartPulseRateMonitor</b>, 
<br />
&#160;&#160;<b>HealthHealthDataDisplay</b>, 
<b>HealthStepCounter</b>, 
<b>HealthBodyCompositionAnalyzer</b>, 
<b>HealthPeakFlowMonitor</b>, 
<br />
&#160;&#160;<b>HealthMedicationMonitor</b>, 
<b>HealthKneeProsthesis</b>, 
<b>HealthAnkleProsthesis</b>, 
<b>HealthGenericHealthManager</b>, 
<br />
&#160;&#160;<b>HealthPersonalMobilityDevice</b>, 
<b>Unknown</b>
<br />
 }<tr class="memdesc:a2abfa893b7bf42f8455192881e2e7ca1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Definition list of the minor device classes currently standardized for Bluetooth.  <a href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a2abfa893b7bf42f8455192881e2e7ca1">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a2abfa893b7bf42f8455192881e2e7ca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8ba9e91b5b6871c33dce4453521b7aac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a8ba9e91b5b6871c33dce4453521b7aac">SetMajorServiceClassFromEnum</a> (<a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a69dec9ca96aa74129819116fdbf75808">MajorServiceClassTypes</a> majorClass)</td></tr>
<tr class="memdesc:a8ba9e91b5b6871c33dce4453521b7aac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the MajorServiceClass property by providing a single service class as specified by the MajorServiceClassTypes enum.  <a href="#a8ba9e91b5b6871c33dce4453521b7aac">More...</a><br /></td></tr>
<tr class="separator:a8ba9e91b5b6871c33dce4453521b7aac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa43860f0cbd0ed3012be7a3fe56f78fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa43860f0cbd0ed3012be7a3fe56f78fd">SetMajorServiceClassFromEnum</a> (IEnumerable&lt; <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a69dec9ca96aa74129819116fdbf75808">MajorServiceClassTypes</a> &gt; majorClasses)</td></tr>
<tr class="memdesc:aa43860f0cbd0ed3012be7a3fe56f78fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the major service class by providing a list of service class types. The method takes care of combining those into the single MajorServiceClass property.  <a href="#aa43860f0cbd0ed3012be7a3fe56f78fd">More...</a><br /></td></tr>
<tr class="separator:aa43860f0cbd0ed3012be7a3fe56f78fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57f517c872c15767b7feb32daff72c42"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a69dec9ca96aa74129819116fdbf75808">MajorServiceClassTypes</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a57f517c872c15767b7feb32daff72c42">MajorServiceClassesAsList</a> ()</td></tr>
<tr class="memdesc:a57f517c872c15767b7feb32daff72c42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current major service class(es) as a list of enum values, which makes parsing easier than having to manually check for flags.  <a href="#a57f517c872c15767b7feb32daff72c42">More...</a><br /></td></tr>
<tr class="separator:a57f517c872c15767b7feb32daff72c42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c8086b776dbc368cba1574c5f64d41a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a3c8086b776dbc368cba1574c5f64d41a">SetMajorDeviceClassFromEnum</a> (<a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa5f2baa43078742f6b8b8a90dd06d4b1">MajorDeviceClassTypes</a> deviceClass)</td></tr>
<tr class="memdesc:a3c8086b776dbc368cba1574c5f64d41a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the major device class by directly specifying the enum value.  <a href="#a3c8086b776dbc368cba1574c5f64d41a">More...</a><br /></td></tr>
<tr class="separator:a3c8086b776dbc368cba1574c5f64d41a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a83086cebe0494b6e2a030f5957ae5c"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a2abfa893b7bf42f8455192881e2e7ca1">MinorDeviceClassList</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a0a83086cebe0494b6e2a030f5957ae5c">MinorDeviceClassAsEnum</a> (int primarySecondary)</td></tr>
<tr class="memdesc:a0a83086cebe0494b6e2a030f5957ae5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get all currently set minor device class values as a list for the specified primary or secondary minor device class.  <a href="#a0a83086cebe0494b6e2a030f5957ae5c">More...</a><br /></td></tr>
<tr class="separator:a0a83086cebe0494b6e2a030f5957ae5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7b529f92753667d03d1090d59fc8792"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device_1_1_minor_device_class_type.html">MinorDeviceClassType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#ae7b529f92753667d03d1090d59fc8792">MinorDeviceClassAsType</a> (int primarySecondary)</td></tr>
<tr class="memdesc:ae7b529f92753667d03d1090d59fc8792"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get all currently set minor device class values as extended type info for the specified primary or secondary minor device class.  <a href="#ae7b529f92753667d03d1090d59fc8792">More...</a><br /></td></tr>
<tr class="separator:ae7b529f92753667d03d1090d59fc8792"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad35f39dfc1b36a72bc8c8f6ef999ceae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#ad35f39dfc1b36a72bc8c8f6ef999ceae">SetMinorDeviceClassFromEnum</a> (List&lt; <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a2abfa893b7bf42f8455192881e2e7ca1">MinorDeviceClassList</a> &gt; minorClassType, int primarySecondary, bool clearPrevious)</td></tr>
<tr class="memdesc:ad35f39dfc1b36a72bc8c8f6ef999ceae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conveniently set a minor device class by supplying enum values, letting the implementation to figure out the exact bit encoding.  <a href="#ad35f39dfc1b36a72bc8c8f6ef999ceae">More...</a><br /></td></tr>
<tr class="separator:ad35f39dfc1b36a72bc8c8f6ef999ceae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a7a28ed2ca4619cdcff8b6d948b34a9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a6a7a28ed2ca4619cdcff8b6d948b34a9">BtClassOfDevice</a> (byte[] codData)</td></tr>
<tr class="memdesc:a6a7a28ed2ca4619cdcff8b6d948b34a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new class of device instance and parse the supplied class of device data into the instance properties.  <a href="#a6a7a28ed2ca4619cdcff8b6d948b34a9">More...</a><br /></td></tr>
<tr class="separator:a6a7a28ed2ca4619cdcff8b6d948b34a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adecf436554f7af3270412b6a25e37453"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#adecf436554f7af3270412b6a25e37453">BtClassOfDevice</a> ()</td></tr>
<tr class="memdesc:adecf436554f7af3270412b6a25e37453"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty class of device instance.  <a href="#adecf436554f7af3270412b6a25e37453">More...</a><br /></td></tr>
<tr class="separator:adecf436554f7af3270412b6a25e37453"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06750f503da3a1889e0151839e35d8e8"><td class="memItemLeft" align="right" valign="top">byte []&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a06750f503da3a1889e0151839e35d8e8">ToByteArray</a> ()</td></tr>
<tr class="memdesc:a06750f503da3a1889e0151839e35d8e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the data stored in this class of device instance to a byte array, for use in the payload of the parent record.  <a href="#a06750f503da3a1889e0151839e35d8e8">More...</a><br /></td></tr>
<tr class="separator:a06750f503da3a1889e0151839e35d8e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a095deac3e30d8b863da9f8cf57b74194"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a095deac3e30d8b863da9f8cf57b74194">NumDeviceClassesForMajorClass</a> (<a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa5f2baa43078742f6b8b8a90dd06d4b1">MajorDeviceClassTypes</a> majorType)</td></tr>
<tr class="memdesc:a095deac3e30d8b863da9f8cf57b74194"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get how many minor classes the supplied major class has. A major class can have 0 to 2 minor classes, depending on its type. See the Bluetooth specifications for more details.  <a href="#a095deac3e30d8b863da9f8cf57b74194">More...</a><br /></td></tr>
<tr class="separator:a095deac3e30d8b863da9f8cf57b74194"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9058fadc02e2a18eccfbbd6a50f5638"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#af9058fadc02e2a18eccfbbd6a50f5638">UsesFlagsForMinorClass</a> (<a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa5f2baa43078742f6b8b8a90dd06d4b1">MajorDeviceClassTypes</a> majorType, int primarySecondary)</td></tr>
<tr class="memdesc:af9058fadc02e2a18eccfbbd6a50f5638"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check whether the major type is using flags for its minor type (primary / secondary). If yes, multiple minor values can be set for a minor type. If no, only a single minor value applies.  <a href="#af9058fadc02e2a18eccfbbd6a50f5638">More...</a><br /></td></tr>
<tr class="separator:af9058fadc02e2a18eccfbbd6a50f5638"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a9dc36724fd49faff02a19fdf665e076b"><td class="memItemLeft" align="right" valign="top">static readonly List&lt; <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device_1_1_minor_device_class_type.html">MinorDeviceClassType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a9dc36724fd49faff02a19fdf665e076b">MinorDeviceClasses</a></td></tr>
<tr class="memdesc:a9dc36724fd49faff02a19fdf665e076b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minor device class definitions. Used by the implementation to assemble and to parse the minor device class information encoded into the record.  <a href="#a9dc36724fd49faff02a19fdf665e076b">More...</a><br /></td></tr>
<tr class="separator:a9dc36724fd49faff02a19fdf665e076b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:af1531aca3b104e04ba48d1ce22d01618"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aec2bd8d1624582ce2efa270fcef2f2f2">ClassOfDeviceFormatTypes</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#af1531aca3b104e04ba48d1ce22d01618">ClassOfDeviceFormat</a><code> [get, set]</code></td></tr>
<tr class="memdesc:af1531aca3b104e04ba48d1ce22d01618"><td class="mdescLeft">&#160;</td><td class="mdescRight">The class of device format currently in use by the class of device definition.  <a href="#af1531aca3b104e04ba48d1ce22d01618">More...</a><br /></td></tr>
<tr class="separator:af1531aca3b104e04ba48d1ce22d01618"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad073c4e0ed178ab69214b44bd454e427"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#ad073c4e0ed178ab69214b44bd454e427">MajorServiceClass</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ad073c4e0ed178ab69214b44bd454e427"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the major service class of the Bluetooth device. Bitmask containing one or more flags from the MajorServiceClassTypes enum.  <a href="#ad073c4e0ed178ab69214b44bd454e427">More...</a><br /></td></tr>
<tr class="separator:ad073c4e0ed178ab69214b44bd454e427"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf53c64c7f01186768d8e03e7ee582be"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#acf53c64c7f01186768d8e03e7ee582be">MajorDeviceClass</a><code> [get, set]</code></td></tr>
<tr class="memdesc:acf53c64c7f01186768d8e03e7ee582be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Major device class of the Bluetooth device. Can equal one of the types defined in the MajorDeviceClassTypes enum.  <a href="#acf53c64c7f01186768d8e03e7ee582be">More...</a><br /></td></tr>
<tr class="separator:acf53c64c7f01186768d8e03e7ee582be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1bd6af350b6897506564e56c6d8d5d6"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#af1bd6af350b6897506564e56c6d8d5d6">MinorDeviceClass</a><code> [get, set]</code></td></tr>
<tr class="memdesc:af1bd6af350b6897506564e56c6d8d5d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minor device class of the Bluetooth of the device.  <a href="#af1bd6af350b6897506564e56c6d8d5d6">More...</a><br /></td></tr>
<tr class="separator:af1bd6af350b6897506564e56c6d8d5d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Defines the Class of Device information data. This is to be used to provide a graphical representation to the user as part of UI involving operations with Bluetooth devices. For example, it may provide a particular icon to represent the device. </p>
<p>For more information regarding the standardized values that are contained in the class of device, see: <a href="https://www.bluetooth.org/en-us/specification/assigned-numbers/baseband">https://www.bluetooth.org/en-us/specification/assigned-numbers/baseband</a> </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="aec2bd8d1624582ce2efa270fcef2f2f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec2bd8d1624582ce2efa270fcef2f2f2">&#9670;&nbsp;</a></span>ClassOfDeviceFormatTypes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aec2bd8d1624582ce2efa270fcef2f2f2">NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.ClassOfDeviceFormatTypes</a> : uint</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Defines the format of the class of device information. Only two bits are used. </p>
<p>Currently, only the format #1 is defined / standardized.</p>

</div>
</div>
<a id="aa5f2baa43078742f6b8b8a90dd06d4b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5f2baa43078742f6b8b8a90dd06d4b1">&#9670;&nbsp;</a></span>MajorDeviceClassTypes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa5f2baa43078742f6b8b8a90dd06d4b1">NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MajorDeviceClassTypes</a> : uint</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Different major device class types currently standardized. </p>

</div>
</div>
<a id="a69dec9ca96aa74129819116fdbf75808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69dec9ca96aa74129819116fdbf75808">&#9670;&nbsp;</a></span>MajorServiceClassTypes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a69dec9ca96aa74129819116fdbf75808">NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MajorServiceClassTypes</a> : uint</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The different major service class flags, including the two reserved bits not yet in use. The actual service class in use can be a combination of one or more of these flags. </p>

</div>
</div>
<a id="a2abfa893b7bf42f8455192881e2e7ca1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2abfa893b7bf42f8455192881e2e7ca1">&#9670;&nbsp;</a></span>MinorDeviceClassList</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a2abfa893b7bf42f8455192881e2e7ca1">NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassList</a> : uint</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition list of the minor device classes currently standardized for Bluetooth. </p>
<p>The values are not mapped directly to bit-values stored in the payload. They are used to interact with the class and to conveniently set one or more minor device classes. The implementation will take care of setting the correct bits when you supply the minor device classes. Of course, you need to make sure the minor device classes fit to the major device class.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6a7a28ed2ca4619cdcff8b6d948b34a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a7a28ed2ca4619cdcff8b6d948b34a9">&#9670;&nbsp;</a></span>BtClassOfDevice() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.BtClassOfDevice </td>
          <td>(</td>
          <td class="paramtype">byte []&#160;</td>
          <td class="paramname"><em>codData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new class of device instance and parse the supplied class of device data into the instance properties. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">codData</td><td>Class of device payload data to parse and to internalize for use in this class through properties.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="adecf436554f7af3270412b6a25e37453"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adecf436554f7af3270412b6a25e37453">&#9670;&nbsp;</a></span>BtClassOfDevice() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.BtClassOfDevice </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an empty class of device instance. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a57f517c872c15767b7feb32daff72c42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57f517c872c15767b7feb32daff72c42">&#9670;&nbsp;</a></span>MajorServiceClassesAsList()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a69dec9ca96aa74129819116fdbf75808">MajorServiceClassTypes</a>&gt; NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MajorServiceClassesAsList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current major service class(es) as a list of enum values, which makes parsing easier than having to manually check for flags. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a id="a0a83086cebe0494b6e2a030f5957ae5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a83086cebe0494b6e2a030f5957ae5c">&#9670;&nbsp;</a></span>MinorDeviceClassAsEnum()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a2abfa893b7bf42f8455192881e2e7ca1">MinorDeviceClassList</a>&gt; NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassAsEnum </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>primarySecondary</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get all currently set minor device class values as a list for the specified primary or secondary minor device class. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">primarySecondary</td><td>Set to 1 to retrieve the minor device class values for the first minor class, or set to 2 for the second minor class (if applicable).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list containing Unknown if no minor type was found, or otherwise a list of enums that are encoded into the specified minor device class.</dd></dl>

</div>
</div>
<a id="ae7b529f92753667d03d1090d59fc8792"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7b529f92753667d03d1090d59fc8792">&#9670;&nbsp;</a></span>MinorDeviceClassAsType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device_1_1_minor_device_class_type.html">MinorDeviceClassType</a>&gt; NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassAsType </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>primarySecondary</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get all currently set minor device class values as extended type info for the specified primary or secondary minor device class. </p>
<p>In contrast to the <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a0a83086cebe0494b6e2a030f5957ae5c" title="Get all currently set minor device class values as a list for the specified primary or secondary mino...">MinorDeviceClassAsEnum()</a> method, this will retrieve a list of <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device_1_1_minor_device_class_type.html" title="Information class that specifies required information to correclty parse and create a minor device cl...">MinorDeviceClassType</a> objects; these contain not just the actual minor device class value(s), but also additional information about each minor device class in use. See the definition of the <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device_1_1_minor_device_class_type.html" title="Information class that specifies required information to correclty parse and create a minor device cl...">MinorDeviceClassType</a> class for more details</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">primarySecondary</td><td>Set to 1 to retrieve the minor device class values for the first minor class, or set to 2 for the second minor class (if applicable).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list of all minor device class types that are currently set for the specified primary or secondary minor class. Returns null or an empty list for invalid input or if no minor classes are set.</dd></dl>

</div>
</div>
<a id="a095deac3e30d8b863da9f8cf57b74194"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a095deac3e30d8b863da9f8cf57b74194">&#9670;&nbsp;</a></span>NumDeviceClassesForMajorClass()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.NumDeviceClassesForMajorClass </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa5f2baa43078742f6b8b8a90dd06d4b1">MajorDeviceClassTypes</a>&#160;</td>
          <td class="paramname"><em>majorType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get how many minor classes the supplied major class has. A major class can have 0 to 2 minor classes, depending on its type. See the Bluetooth specifications for more details. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">majorType</td><td>The major type to retrieve the number of minor classes for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of minor classes in use for the specified major class.</dd></dl>

</div>
</div>
<a id="a3c8086b776dbc368cba1574c5f64d41a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c8086b776dbc368cba1574c5f64d41a">&#9670;&nbsp;</a></span>SetMajorDeviceClassFromEnum()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.SetMajorDeviceClassFromEnum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa5f2baa43078742f6b8b8a90dd06d4b1">MajorDeviceClassTypes</a>&#160;</td>
          <td class="paramname"><em>deviceClass</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the major device class by directly specifying the enum value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">deviceClass</td><td>The major device class as enum value.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8ba9e91b5b6871c33dce4453521b7aac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ba9e91b5b6871c33dce4453521b7aac">&#9670;&nbsp;</a></span>SetMajorServiceClassFromEnum() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.SetMajorServiceClassFromEnum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a69dec9ca96aa74129819116fdbf75808">MajorServiceClassTypes</a>&#160;</td>
          <td class="paramname"><em>majorClass</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the MajorServiceClass property by providing a single service class as specified by the MajorServiceClassTypes enum. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">majorClass</td><td>The major service class to set.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa43860f0cbd0ed3012be7a3fe56f78fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa43860f0cbd0ed3012be7a3fe56f78fd">&#9670;&nbsp;</a></span>SetMajorServiceClassFromEnum() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.SetMajorServiceClassFromEnum </td>
          <td>(</td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a69dec9ca96aa74129819116fdbf75808">MajorServiceClassTypes</a> &gt;&#160;</td>
          <td class="paramname"><em>majorClasses</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the major service class by providing a list of service class types. The method takes care of combining those into the single MajorServiceClass property. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">majorClasses</td><td>A list of different major service classes.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad35f39dfc1b36a72bc8c8f6ef999ceae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad35f39dfc1b36a72bc8c8f6ef999ceae">&#9670;&nbsp;</a></span>SetMinorDeviceClassFromEnum()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.SetMinorDeviceClassFromEnum </td>
          <td>(</td>
          <td class="paramtype">List&lt; <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a2abfa893b7bf42f8455192881e2e7ca1">MinorDeviceClassList</a> &gt;&#160;</td>
          <td class="paramname"><em>minorClassType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>primarySecondary</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearPrevious</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Conveniently set a minor device class by supplying enum values, letting the implementation to figure out the exact bit encoding. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">minorClassType</td><td>The minor device class value to set. If the minor device class supports setting multiple values as flags, the minorClassType list parameter can contain multiple minor device classes. Otherwise, it can only contain a single minor device class. Find out how if the minor device class uses flags, use <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#af9058fadc02e2a18eccfbbd6a50f5638" title="Check whether the major type is using flags for its minor type (primary / secondary). If yes, multiple minor values can be set for a minor type. If no, only a single minor value applies. ">UsesFlagsForMinorClass()</a>.</td></tr>
    <tr><td class="paramname">primarySecondary</td><td>Whether to assign the minor device class value as a primary or secondary minor device class. Set to 1 to retrieve the minor device class values for the first minor class, or set to 2 for the second minor class (if applicable).</td></tr>
    <tr><td class="paramname">clearPrevious</td><td>Set to true to delete all minor device classes that are currently assigned before applying the new minor device class. This essentially sets the MinorDeviceClass property to 0 before using the logical OR operator to add the new minor device class.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a06750f503da3a1889e0151839e35d8e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06750f503da3a1889e0151839e35d8e8">&#9670;&nbsp;</a></span>ToByteArray()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">byte [] NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.ToByteArray </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the data stored in this class of device instance to a byte array, for use in the payload of the parent record. </p>
<dl class="section return"><dt>Returns</dt><dd>The class of device information as a byte array with 3 bytes.</dd></dl>

</div>
</div>
<a id="af9058fadc02e2a18eccfbbd6a50f5638"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9058fadc02e2a18eccfbbd6a50f5638">&#9670;&nbsp;</a></span>UsesFlagsForMinorClass()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.UsesFlagsForMinorClass </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aa5f2baa43078742f6b8b8a90dd06d4b1">MajorDeviceClassTypes</a>&#160;</td>
          <td class="paramname"><em>majorType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>primarySecondary</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check whether the major type is using flags for its minor type (primary / secondary). If yes, multiple minor values can be set for a minor type. If no, only a single minor value applies. </p>
<p>Currently, only the primary minor class of the Imaging major class is using flags.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">majorType</td><td>Major device class type to retrieve the information for.</td></tr>
    <tr><td class="paramname">primarySecondary</td><td>Use the primary or secondary bits.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the minor bits should be interpreted as flags (multiple minor classes per major class); false if they should be interpreted as value (only one minor class per major class)</dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a9dc36724fd49faff02a19fdf665e076b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dc36724fd49faff02a19fdf665e076b">&#9670;&nbsp;</a></span>MinorDeviceClasses</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">readonly List&lt;<a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device_1_1_minor_device_class_type.html">MinorDeviceClassType</a>&gt; NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClasses</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Minor device class definitions. Used by the implementation to assemble and to parse the minor device class information encoded into the record. </p>
<p>For details about the individual values, see the <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device_1_1_minor_device_class_type.html" title="Information class that specifies required information to correclty parse and create a minor device cl...">MinorDeviceClassType</a> class definition. The actual definitions correspond to the Bluetooth specification, as defined by: <a href="https://www.bluetooth.org/en-us/specification/assigned-numbers/baseband">https://www.bluetooth.org/en-us/specification/assigned-numbers/baseband</a> </p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="af1531aca3b104e04ba48d1ce22d01618"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1531aca3b104e04ba48d1ce22d01618">&#9670;&nbsp;</a></span>ClassOfDeviceFormat</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#aec2bd8d1624582ce2efa270fcef2f2f2">ClassOfDeviceFormatTypes</a> NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.ClassOfDeviceFormat</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The class of device format currently in use by the class of device definition. </p>

</div>
</div>
<a id="acf53c64c7f01186768d8e03e7ee582be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf53c64c7f01186768d8e03e7ee582be">&#9670;&nbsp;</a></span>MajorDeviceClass</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MajorDeviceClass</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Major device class of the Bluetooth device. Can equal one of the types defined in the MajorDeviceClassTypes enum. </p>

</div>
</div>
<a id="ad073c4e0ed178ab69214b44bd454e427"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad073c4e0ed178ab69214b44bd454e427">&#9670;&nbsp;</a></span>MajorServiceClass</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MajorServiceClass</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Defines the major service class of the Bluetooth device. Bitmask containing one or more flags from the MajorServiceClassTypes enum. </p>

</div>
</div>
<a id="af1bd6af350b6897506564e56c6d8d5d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1bd6af350b6897506564e56c6d8d5d6">&#9670;&nbsp;</a></span>MinorDeviceClass</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClass</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Minor device class of the Bluetooth of the device. </p>
<p>This is the original value, where multiple minor device classes can be encoded. Note that the value retrieved here does not directly correspond to the MinorDeviceClassList enum definition. To de-encode the values that are actually set to the enum, use the <a class="el" href="class_ndef_library_1_1_ndef_1_1_ndef_bt_secure_simple_pairing_record_1_1_bt_class_of_device.html#a0a83086cebe0494b6e2a030f5957ae5c" title="Get all currently set minor device class values as a list for the specified primary or secondary mino...">MinorDeviceClassAsEnum()</a> method.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>NdefLibrary/Ndef/NdefBtSecureSimplePairingRecord.cs</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Aug 16 2017 15:07:45 for NFC / NDEF Library for Proximity APIs by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
